<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="/user/user-css/user-info.css" />
  </head>
  <body>
    <h4>修改密码</h4>
    <form class="layui-form" lay-filter="formText" id="form">
      <div class="layui-form-item">
        <input type="hidden" name="id" />
        <label class="layui-form-label">原密码</label>
        <div class="layui-input-block">
          <input type="text" name="oldPwd" required lay-verify="required|oldPwd" placeholder="请输入原密码" autocomplete="off" class="layui-input" />
        </div>
      </div>

      <div class="layui-form-item">
        <label class="layui-form-label">新密码</label>
        <div class="layui-input-block">
          <input type="text" name="newPwd" required lay-verify="required|oldPwd" placeholder="请输入新密码" autocomplete="off" class="layui-input newPwd" />
        </div>
      </div>

      <div class="layui-form-item">
        <label class="layui-form-label">确认新密码</label>
        <div class="layui-input-block">
          <input type="text" required lay-verify="required|newPwd" placeholder="修改密码" autocomplete="off" class="layui-input " />
        </div>
      </div>

      <div class="layui-form-item">
        <div class="layui-input-block">
          <button class="layui-btn" lay-submit lay-filter="formDemo" id="xiugai" type="submit">修改密码</button>
          <button type="reset" class="layui-btn layui-btn-primary" id="chongzhi">重置</button>
        </div>
      </div>
    </form>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/js/baseAPI.js"></script>
    <script src="/user/user-js/user-mima.js"></script>
  </body>
</html>
